package com.bjpowernode.pmes.dao;

import java.util.List;
import java.util.Map;

import com.bjpowernode.pmes.bean.BugTicket;
import com.bjpowernode.pmes.bean.BugTickets;

public interface BugTicketDao {

	void insertBugTicket(BugTicket bt);

	List<BugTicket> getAllBtList(Map<String, Object> paramMap);

	Integer getBtsCount(Map<String, Object> paramMap);

	void updateBt(BugTicket bt);

	void deleteBts(BugTickets bts);

	void updateBtStatus(BugTicket bt);

	BugTicket getBtByPI(String piid);

	void updateBtAuthStatus(BugTicket bt);

	List<BugTicket> getBtsByHistory(Map<String, Object> paramMap);

	Integer getBtsCntByHistory(Map<String, Object> paramMap);

	List<BugTicket> getBtsForFinished(Map<String, Object> paramMap);

	Integer getBtsCntForFinished(Map<String, Object> paramMap);

}
